package com.wonders.frame.chron.dao.user;

import java.util.List;
import java.util.Map;
import java.util.Set;

import com.wonders.frame.chron.model.vo.UserInfo;

public interface UserInfoDao{
	public List<UserInfo> findByGroupName(String groupName);
	
	public List<UserInfo> findByGroupNameAndDept(String groupName,String dept);
	
	public List<UserInfo> findLeaderByUserName(String loginName);
	
	public Map<String,String> findByIds(Set<String> userSet);
	
	public List<String> findGroupNameByUserId(String userId);
	
	public boolean findUserInGroup(String userId,Set<String> userGroup);
}
	